﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="staff_lessons_finish_list.aspx.cs" Inherits="Catering.UserTraining.SlrCompanyTrainning.staff_lessons_finish_list" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../../Style/ZHJG/zhezhao.css" rel="stylesheet" type="text/css" />
    <script src="../../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="../../../Style/center.css" />
    <link href="../css/css_common.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style2
        {
            width: 196px;
        }
        .pointer
        {
            cursor: pointer;
        }
        table tr td{min-height:28px; line-height:28px;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div style="padding-left:0px; margin: 10px auto; width: 998px; height: 30px; line-height: 30px; font-size: 13px; font-weight:bold; padding-top: 0px;">
        <asp:LinkButton ID="LinkButton6" runat="server" onclick="LinkButton6_Click">我的课程</asp:LinkButton>&nbsp;
        <asp:LinkButton ID="LinkButton7" runat="server" onclick="LinkButton7_Click">课程管理</asp:LinkButton>
    </div>
    <div style="padding-left:0px; margin: 10px auto; width: 998px; height: 30px; line-height: 30px; font-size: 13px; font-weight:bold; padding-top: 0px; background: url(/Images/div_h1_bg_02.gif);">
        &nbsp;&nbsp;当前位置：公司级培训-学习成效
    </div>
    <div style="padding-left: 0; margin: 0 auto; width: 998px; height: 46px; line-height: 40px;
        font-size: 13px; padding-top: 0px; background: url(/Images/div_h1_bg_02.gif);">
        <table>
            <tr>                
                <td>作业区：</td>
                <td><asp:DropDownList ID="Drop_ZuoYeQu" runat="server" AutoPostBack="true" CssClass="select_input_bg" Width="104" OnSelectedIndexChanged="Drop_ZuoYeQu_SelectedIndexChanged"></asp:DropDownList></td>
                <td>班组：</td>
                <td><asp:DropDownList ID="Drop_BanZu" AutoPostBack="true" runat="server" CssClass="select_input_bg" Width="104" OnSelectedIndexChanged="Drop_BanZu_SelectedIndexChanged"></asp:DropDownList></td>
                <td>按：</td>
                <td>
                    <asp:DropDownList ID="Drop_SearchType" runat="server">
                        <asp:ListItem Value="LessonName">课程名称</asp:ListItem>
                        <asp:ListItem Value="LessonType">课程类别</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:TextBox ID="txt_BookName" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="btnSearch_Click" class="input_btn_a" />
                </td>
            </tr>
        </table>
    </div>
    <div style="padding: 0px; text-align: center; height: 29px; border:1px solid #000000; min-height:200px; overflow-x:scroll; margin-top: 10px">
        <table cellpadding="0" cellspacing="0" style="overflow:scroll; margin: 0 auto; width: 998px;
            border-left: 1px solid #8b8888; border-top: 1px solid #8b8888; margin: auto;
            font-size: 12px;">
            <thead>
                <tr style="background: url(../../../Images/th_02bg.gif) repeat-x 0px 0px; height: 29px;">
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        序号
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        班组
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        姓名
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        课程名称
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        培训岗位
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        培训地点
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        开始时间
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        结束时间
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        开始学习时间
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        结束学习时间
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        学习时长（分钟）
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        是否需测试
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        测试分数
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        是否合格
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        测试时间
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        课程描述
                    </td>
                </tr>
            </thead>
            <tbody>
                <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%# Container.ItemIndex + 1%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#GetClassName(Eval("ClassID").ToString())%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#Eval("UserName").ToString()%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#Eval("LessonName")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#GetNodeName(Eval("NodeID").ToString())%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#Eval("Addre")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888;">
                                <%#Convert.ToDateTime(Eval("StartDate").ToString()).ToString("yyyy-MM-dd")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#Convert.ToDateTime(Eval("EndDate").ToString()).ToString("yyyy-MM-dd")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888;">
                                <%#(Eval("UserStartDate") == null || string.IsNullOrEmpty(Eval("UserStartDate").ToString())) ? "" : Convert.ToDateTime(Eval("UserStartDate").ToString()).ToString("yyyy-MM-dd")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#(Eval("UserEndDate")==null|| string.IsNullOrEmpty(Eval("UserStartDate").ToString()))?"":Convert.ToDateTime(Eval("UserEndDate").ToString()).ToString("yyyy-MM-dd")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#Eval("LearnTime")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%# Eval("IsTest").ToString() == "0" ? "否" : "是"%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%# Eval("TestPoints")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#IsGood(Eval("TestPoints").ToString()) %>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#(Eval("TestDate") == null || string.IsNullOrEmpty(Eval("TestDate").ToString())) ? "" : Convert.ToDateTime(Eval("TestDate").ToString()).ToString("yyyy-MM-dd")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#Eval("Remarks")%>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
            <tfoot>
                <tr>
                    <td colspan="10">
                        <webdiyer:aspnetpager ID="AspNetPager1" runat="server" PageSize="10" OnPageChanging="AspNetPager1_PageChanging"
                            FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" 
                            ShowPageIndex="true">
                        </webdiyer:aspnetpager>
                    </td>
                </tr>
            </tfoot>
        </table>
        <div class="clear"></div>
    </div>
    </form>
</body>
</html>
